export const state = () => {
  return {
    tab: "sms", //当前选择哪个发送邀请
    people: [], //当前选择的对接人
    isShowCurrentTips: false //是否显示发送邀请弹出框
  };
};

export const mutations = {
  SET_tab(state, tab) {
    state.tab = tab;
  },
  SET_people(state, people) {
    state.people = people;
  },
  SET_isShowCurrentTips(state, bool) {
    state.isShowCurrentTips = bool;
  }
};

export const getters = {};

export const actions = {
  // async GET_AREA_CODE ({ commit }){
  //   try {
  //     let data = await this.$axios.get('/area_code.json');
  //     console.log(data);
  //   } catch (e) {
  //     throw e;
  //   }
  // }
};
